﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cnm.Models.ViewModels
{
    public class CategoryViewModel
    {
        public CategoryViewModel()
        {
            Childs = new List<CategoryViewModel>();
            CategoryBreadcrumb = new List<CategoryViewModel>();
        }

       public int Id { get; set; }
        public string Name { get; set; }
        public string SeName { get; set; }
        public int? ParentId { get; set; }
        public int? DisplayOrder { get; set; }
        public int? Type { get; set; }
        public string UrlDetails { get; set; }

        public IList<CategoryViewModel> CategoryBreadcrumb { get; set; }
        public List<CategoryViewModel> Childs { get; set; }
    }
}
